package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.OrderFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author cjr
 */
@Component
public class
OrderFallback implements OrderFeign {
    @Override
    public ResultModel<OrderSaveVo> save(OrderSaveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel cancel(OrderCancelDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel complete(OrderCancelDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderSaveVo> saveAgain(OrderSaveAgainDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderPayWxAppVo> payWxApp(OrderPayWxAppDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel payWxAppBack(OrderPayWxAppBackDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderPayWxJsapiVo> payWxJsapi(OrderPayWxJsapiDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel payWxJsapiBack(OrderPayWxAppBackDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderPayWxAlipayVo> payAlipay(OrderPayWxAlipayDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel payAlipayBack(OrderPayWxAlipayBackDto request) {
        return null;
    }

    @Override
    public ResultModel send(OrderSendRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderListPcResponse> listPc(OrderListPcRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderListVo> list(OrderListDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderDetailVo> detail(OrderDetailDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel remindSend(OrderRemindSendDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel refundApply(OrderRefundApplyDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel refundCancel(OrderRefundCancelDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel timeout(OrderTimeoutDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<OrderCountVo> count(OrderCountDto request) {
        return ResultModel.faultTolerant();
    }
}
